package com.wxxymaker.edu.model.entity;

import io.github.biezhi.anima.Model;
import io.github.biezhi.anima.annotation.Ignore;
import io.github.biezhi.anima.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @AUTHOR soft
 * @DATE 2018/9/4 15:40
 * @DESCRIBE 用户关注表
 */
@EqualsAndHashCode(callSuper = false)
@Data
@Table(name = "user_focus")
public class UserFocus extends Model {
    private Integer id;

    private Integer  userId;    // 关注者id
    @Ignore
    private User    user;

    private Integer  toUserId;  // 被关注者id
    @Ignore
    private User    toUser;

    private String  time;      // 关注时间
}